package com.aiyige.model;

/**
 * Created by zhuyakun on 2018/1/22.
 */

public class Oss {
    String id;
    Data image;
    Data video;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Data getImage() {
        return image;
    }

    public void setImage(Data image) {
        this.image = image;
    }

    public Data getVideo() {
        return video;
    }

    public void setVideo(Data video) {
        this.video = video;
    }

    public static class Data {
        String bucket;
        String bucketUrl;
        String domain;
        Token token;

        public String getBucket() {
            return bucket;
        }

        public void setBucket(String bucket) {
            this.bucket = bucket;
        }

        public String getBucketUrl() {
            return bucketUrl;
        }

        public void setBucketUrl(String bucketUrl) {
            this.bucketUrl = bucketUrl;
        }

        public String getDomain() {
            return domain;
        }

        public void setDomain(String domain) {
            this.domain = domain;
        }

        public Token getToken() {
            return token;
        }

        public void setToken(Token token) {
            this.token = token;
        }
    }

    public static class Token {
        String token;
        long expireTime;

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public long getExpireTime() {
            return expireTime;
        }

        public void setExpireTime(long expireTime) {
            this.expireTime = expireTime;
        }
    }
}
